package smartgrid.agents;

public abstract class AbstractAgent {
	
	// Agent identification
	protected int	id;
	
	// Simulation round
	protected int	timestep;
	
	
	/**
	 * AbstractAgent constructor
	 * 
	 * @param id
	 *          Agent identification
	 * @return none
	 */
	public AbstractAgent(Integer id) {
		this.id = id;
	}
	
	
	/**
	 * Get the agent identification
	 * 
	 * @param none
	 * @return Agent identification
	 */
	public int getId() {
		return this.id;
	}
	
	
	/**
	 * Get simulation timestep
	 * 
	 * @param none
	 * @return Simulation timestep
	 */
	public int getTimestep() {
		return this.timestep;
	}
	
	
	/**
	 * Set current simulation round
	 * 
	 * @param tiemstep
	 *          Current round
	 * @return none
	 */
	public void setTimestep(int tiemstep) {
		this.timestep = tiemstep;
	}
}